package com.lyrcsoft.rokectmq.ordermessage;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author fujc2dev@126.com
 * @date 2024-05-09 16:07
 */
@Data
public class Order {

    private Long orderId;
    private String desc;

    public static List<Order> getOrderList() {
        List<Order> orderList = new ArrayList<>();
        // 订单 ==> 创建 付款 推送  完成
        Order order = new Order();
        order.setOrderId(20240509001L);
        order.setDesc("创建");
        orderList.add(order);

        order = new Order();
        order.setOrderId(20240509002L);
        order.setDesc("创建");
        orderList.add(order);

        order = new Order();
        order.setOrderId(20240509001L);
        order.setDesc("付款");
        orderList.add(order);

        order = new Order();
        order.setOrderId(20240509003L);
        order.setDesc("创建");
        orderList.add(order);

        order = new Order();
        order.setOrderId(20240509001L);
        order.setDesc("推送");
        orderList.add(order);

        order = new Order();
        order.setOrderId(20240509001L);
        order.setDesc("完成");
        orderList.add(order);


        order = new Order();
        order.setOrderId(20240509002L);
        order.setDesc("付款");
        orderList.add(order);

        order = new Order();
        order.setOrderId(20240509002L);
        order.setDesc("推送");
        orderList.add(order);

        order = new Order();
        order.setOrderId(20240509002L);
        order.setDesc("完成");
        orderList.add(order);


        order = new Order();
        order.setOrderId(20240509003L);
        order.setDesc("付款");
        orderList.add(order);

        order = new Order();
        order.setOrderId(20240509003L);
        order.setDesc("推送");
        orderList.add(order);

        order = new Order();
        order.setOrderId(20240509003L);
        order.setDesc("完成");
        orderList.add(order);


        return orderList;
    }
}
